From cbb5e27b3e77bcba5eff39f02f8417d5c14f92f3 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Thu, 22 May 2014 08:49:18 -0400 Subject: [PATCH] tests: Update for GtkMisc deprecations --- tests/testfilechooserbutton.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/testfilechooserbutton.c b/tests/testfilechooserbutton.c index 0aaf9c478a..1f30f4a4d3 100644 --- a/tests/testfilechooserbutton.c +++ b/tests/testfilechooserbutton.c @@ -273,7 +273,9 @@ main (int argc, label = gtk_label_new_with_mnemonic ("_Open:"); gtk_size_group_add_widget (GTK_SIZE_GROUP (label_group), label); +G_GNUC_BEGIN_IGNORE_DEPRECATIONS gtk_misc_set_alignment (GTK_MISC (label), 0.0, 0.5); +G_GNUC_END_IGNORE_DEPRECATIONS gtk_box_pack_start (GTK_BOX (hbox), label, FALSE, FALSE, 0); chooser = gtk_file_chooser_button_new ("Select A File - testfilechooserbutton", @@ -298,7 +300,9 @@ main (int argc, label = gtk_label_new_with_mnemonic ("Select _Folder:"); gtk_size_group_add_widget (GTK_SIZE_GROUP (label_group), label); +G_GNUC_BEGIN_IGNORE_DEPRECATIONS gtk_misc_set_alignment (GTK_MISC (label), 0.0, 0.5); +G_GNUC_END_IGNORE_DEPRECATIONS gtk_box_pack_start (GTK_BOX (hbox), label, FALSE, FALSE, 0); chooser = gtk_file_chooser_button_new ("Select A Folder - testfilechooserbutton", -- 2.30.2